.goodsList{
    max-width: 600px;
    width: 98%;
    /*height: 1800px;*/
    margin: 90px auto 0;
    /*border: 1px solid #000;*/
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.goods-box{
    color: black;
    flex: 1 1 calc(50% - 10px);
    aspect-ratio: 0.66;
    background-color: #fff;
    border-radius: 10px;
    margin: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.goods-box>img{
    flex: 3;
    width: 90%;
    margin: 5px auto;
    aspect-ratio: 1;
    display: block;
   
}
.goods-info{
    flex: 1;
}

.goods-head{
    font-size: 15px;
    width: 90%;
    margin: 0 auto;
    /*控制文字显示2行*/
    display: -webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow: hidden;
    /* 设置最小高度为两行文本的高度 */
    min-height: 40px; /* 表示两个字体大小的高度，你可以根据需要调整 */
}

.tap{
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
   
}
.tap>p{
    padding: 2px;
    font-size: 10px;
    margin: 2px 1% 2px 0;
}
.tap p:first-child
{
    background-color: #2d862e;
    color: white;
}
.tap p:nth-child(2)
{
    background-color: #c00e0e;
    color: white;
}
.price{
    width: 90%;
    /*height: 40px;*/
    margin: 2px auto;
    overflow: hidden;
    display: block;
}
.price p:first-child{
    float: left;
    color: #c00e0e;
    font-size: 20px;
}
.price p:nth-child(2){
    float: right;
    margin-top: 10px;
    color: #a9a9a9;
    font-size: 8px;
}
